package com.sunop.judge.model;

import cn.hutool.json.JSON;
import cn.hutool.json.JSONArray;
import lombok.Data;

import java.io.Serializable;

/**
 * 给go-judge的参数
 */
@Data
public class Cmd implements Serializable {
    private String[] args;
    private JSON copyIn;
    private String[] copyOut;
    private String[] copyOutCached;
    private String copyOutDir;
    private Long cpuLimit;
    private String[] env;
    //java & cpp not use, python use "src" to store code cin
    private JSONArray files ; // 直接定义为 final 字符串
    private Long memoryLimit;
    private int procLimit=50;
}
